package com.yuan.fmmall.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Id;
import java.util.Date;
import java.util.List;

/**
 * @author Yuan
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ProductVO {

    private String productId;

    private String productName;

    private Integer categoryId;

    private Integer rootCategoryId;

    private Integer soldNum;

    private Integer productStatus;

    private Date createTime;

    private Date updateTime;

    private String content;

    private List<ProductImg> imgs;

    public List<ProductImg> getImgs() {
        return imgs;
    }

    public void setImgs(List<ProductImg> imgs) {
        this.imgs = imgs;
    }
}
